﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace August.UI
{
    public class ImageBaseCollection : List<ImageBase>
    {
        private UserControlX container = null;
        public ImageBaseCollection(UserControlX owner)
        {
            container = owner;
        }

        public UserControlX Owner
        {
            get
            {
                return container;
            }
        }

        public new void Add(ImageBase shapeBase)
        {
            base.Add(shapeBase);
            shapeBase.Parent = this;
        }
    }
}
